package com.mingdong.first.waiguan.hometheater;

public class TheaterLights {

	private static TheaterLights instance = null;
	
	private TheaterLights(){
		
	}
	
	public static TheaterLights getInstance(){
		
		if(instance == null){
			instance = new TheaterLights();
		}
		return instance;
	}
	public void on(){
		System.out.println("TheaterLights on");
	}
	
	public void off(){
		System.out.println("TheaterLights off");
	}

	public void dim(int size){
		System.out.println("TheaterLights"+ size);
	}
	
	public void bright(){
		dim(100);
		System.out.println("TheaterLights bright");
	}
}
